package com.xlh.dokka.svc.core.model;

import lombok.Data;

import java.util.concurrent.atomic.AtomicInteger;

/**
 * @author cheer
 */
@Data
public class GpuNode {

    private final Node node;

    private final Integer serialNumber;

    private AtomicInteger usageCount = new AtomicInteger(0);

    public GpuNode(Node node, Integer serialNumber) {
        this.node = node;
        this.serialNumber = serialNumber;
    }
}
